<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 16-12-5
 * Time: 下午9:26
 */
namespace app\wateradmin\controller;

use app\common\controller\BaseAdmin;

class Adminorder extends BaseAdmin{
    /*
     * 后台首页
     * 赵坤
     * 20161206
     * */
    public function index(){
        $this->assign('title','拼图云订单管理');
        $this->assign('description','拼图云商城');
        $order_state = $this->request->param('menu_order_state');
        if($order_state==1){
            //全部订单

        }
        if($order_state==10){
            //未付款

        }
        if($order_state==20){
            //已付款
        }
        if($order_state==30){
            //已发货
        }
        if($order_state==40){
            //已完成
        }
        if($order_state==50){
            //已评论
        }
        if($order_state==60){
            //全部退单
        }
        if($order_state==70){
            //全部退款

        }
        if($order_state==80){
            //全部退货

        }

        return $this->fetch();
    }


}